import service from '@/utils/request'

export const yryycontent = () => {
  return service({
    url: '/yryy/yryycontent',
    method: 'post'
  })
}

export const yryyGetidContent = (params) => {
  return service({
    url:'/yryy/yryyGetidContent',
    method:'get',
    params
  })
}

export const yryyCreateContent = (data) => {
  return service({
    url:'/yryy/yryyCreateContent',
    method:'post',
    data
  })
}

export const yryyDeleteContent = (params) => {
  return service({
    url:'/yryy/yryyDeleteContent',
    method:'delete',
    params
  })
}

export const yryyUpdateContent = (data) => {
  return service({
    url:'/yryy/yryyUpdateContent',
    method:'put',
    data
  })
}